#ifndef DIGITALCLOCK_H
#define DIGITALCLOCK_H

#include <QtWidgets/QLCDNumber>
#include <QTime>

class DigitalClock : public QLCDNumber
{
    Q_OBJECT

public:
    DigitalClock(QWidget *parent = 0, int number=8);
    int number;
    QString current_time;
    QString elapsed_time;
    QTime start_time;

private slots:
    void showTime();
};

#endif // DIGITALCLOCK_H
